home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / amac44b.zip / FILE28.QM < prev    next >
Text File  |  1992-06-22  |  7KB  |  147 lines

  1. *                              FILE28.QM, v2.8a
  2. *                         Macros To Manage Files
  3. *                        Written by Tom Hogshead
  4. *                                 6/4/92
  5. *  Key       Subfile                       Description
  6. * =====  ==============  ====================================================
  7. *        {e:\up\fil001}  Macros To Delete, Save and Edit Files ( )
  8. *        {e:\up\fil002}  Macros To Mark or Remove Duplicate Lines From Files
  9. *        {e:\up\fil003}  Miscellaneous File Macros
  10. *
  11. *        {e:\up\rfr001}  Single/Double/Triple Space Files
  12. *        {e:\up\mis004}  Compare Files
  13. *        {e:\up\MACR*}   Make and Convert Macro Files
  14. *        {e:\up\QLST*}   Load Files from Filelist
  15. *        {e:\up\RING*}   Load Files in Ring
  16. *        {e:\up\PAGE*}   Paginate Files
  17. *        {e:\up\BOOK*}   Jump to Position In and Across Files
  18. *        {e:\up\JMPPOS*} Jump to Position In and Across Files
  19. *
  20. * @h                     Jump To Index Item In Current File
  21. *
  22. *  Index,  How To Jump To Index Item
  23. *  Description
  24. *  Startup
  25. *  Other Macros
  26. *  Required Program Files
  27. *  Version history
  28. *
  29. *--- eoi
  30.  
  31.  
  32. * (Index) Use
  33. * -------------
  34. * To locate a macro or item in this file, press @h, place the cursor
  35. * line on the desired item in the Index above, and press <enter>.  See
  36. * BOOKxx.QM for more details for using @f to jump to macros across
  37. * files.
  38.  
  39. * (Description)
  40. * ----------------
  41. * FILE28.QM QEdit macros allow the user to select files from a list to:
  42. * either load a file, read a macfile, delete a file, read a macfile of
  43. * loaded txtfile, save a read-only file, or save files with the name
  44. * either 09141025.EXT or file NAME.914.  File sorting is done using DX
  45. * Directory Extender, not included with these files.  Included also are
  46. * spell check macros with ShareSpell and cursor position and scroll
  47. * macros and macros to remove duplicate lines from files.
  48.  
  49. * File sorting is done using DX Directory Extender, v2.11. If the newer
  50. * version 2.60 is used and it is NOT registered, the DX heading will
  51. * show in the file selection window of @1 to @5 and the initial cursor
  52. * line will not be positioned on the first files in the selection list.
  53. * The file selection can be still be made by moving the cursor line to
  54. * the desired file and pressing <enter>. Alternatively, you can either
  55. * register DX or change the macros. I suggest registration. DX is the
  56. * most powerful DOS file and directory manager available.
  57.  
  58. * For (other) macros, see ALLMACRO.INF
  59.  
  60. * These macros require "QEdit and QMAC v2.1, February, 1990" or later.
  61.  
  62. * (Startup): See also FILE.DOC for requirements.
  63. * ---------------------------------------------------
  64. * To BEGIN, just type "START FILE" <Enter>. All pertinent files will be
  65. * loaded in the "Ring" for viewing, and FILE28.MAC is read.
  66. * Alternatively, type "START FILE 0" <Enter> and the disk copies of all
  67. * files in the "Ring" will be loaded ready for editing, saving time.
  68.  
  69. * (REQUIRED) PROGRAM FILES
  70. *
  71. * You──MUST──have the exectable program files in AMAC-PRG.ZIP to run
  72. * some of these macros. AMAC-PRG.ZIP can be found on the following BBS's:
  73. *
  74. *                                 SemWare
  75. *                                 Exec-PC
  76. *
  77. * It can not be found on CompuServe since many of the programs are
  78. * Copyrighted.  All program files are ShareWare, and inclusion in
  79. * AMAC-PRG.ZIP is not prohibited in their documentation.
  80. *
  81. * I thank the authors for these excellent programs.
  82.  
  83. * 
  84. *┌───────────────────────────────────────────────────────────────────┐
  85. *│@(h) Finds first word on cursor line marked in document below      │
  86. *└───────────────────────────────────────────────────────────────────┘
  87. * @h macro has 2 steps:
  88. *     1. Press @ and h at the same time. An ! shows at the
  89. *        end of the top line. Cursor down to desired line in Index.
  90. *     2. Press Enter. The macro first erases the !, and
  91. *        then finds the first word on the cursor line in the document
  92. *        below marked with (...).
  93. *
  94. * See BOOKxx.QM for more details.
  95.  
  96. @h Macrobegin
  97.         unmarkblock                     * Unmark any marked blocks
  98.         begfile endline                 * Go to file begin endline
  99.         "!"                             * Put ! at endline
  100.         begline
  101.         find "!" return return begline  * Highlight !
  102.         pause                           * Pause for Index selection
  103.         wordright markword              * Mark first word on line
  104.         copy                            * Copy word to scrap buffer
  105.         begfile                         * Begfile
  106.         find "!" return return delch    * Find & delete !
  107.         endpara                         * Go to end of Index
  108.         makectrofscreen                 * Cursor line center of window
  109.         find "(" paste ")"
  110.         return "I" return               * Find first marked word in doc
  111.  jfalse NOMARK
  112.         begline                         * If mark found go to begline
  113.  jump END
  114.  NOMARK:
  115.         begfile                         * If no mark found go to begfile
  116.  END:
  117. *
  118. * 47 bytes Fri  09-14-1990  14:06:26
  119.  
  120. * (Version) History
  121. * ------------------
  122. *  2.7 - Modified @5.                                                  2/16/92
  123. *      - Moved ^2 and ^6 from mis006.qm.                               2/16/92
  124. *      - In amac42.zip.                                                3/28/92
  125. *  2.7a- Removed ^f6 and reference to DSIZxx.QM.                       4/23/92
  126. *      - Changed @f3.                                                  4/24/92
  127. *      - In amac42e.zip.                                               4/26/92
  128. *  2.8 - Added ^e and ^x.                                               5/9/92
  129. *      - Added @9 and @0.                                              5/12/92
  130. *      - Changed ^f1/f2/f3 keys to ^f4/f5/f6.                          5/12/92
  131. *      - Moved to mis001.qm: @w/z, ^w/z, ^e/x, @PgUp/PdDn ad ^f4/f5/f6.5/14/92
  132. *      - Moved all other macros to subfiles fil001-005.qm.             5/14/92
  133. *      - Added @7 in fil001.qm.                                        5/15/92
  134. *      - Removed from fil001.qm #f5 and #f6.                           5/18/92
  135. *      - Changed keys in fil00x.qm files.                              5/26/92
  136. *      - Added @9 and @0 in fil002.qm.                                 5/27/92
  137. *      - Added @f8 in fil002.qm.                                       5/27/92
  138. *      - Modified fil002.qm macros for non-dup's at eof.               5/27/92
  139. *      - In Amac43.zip.                                                5/27/92
  140. *  2.8a- Removed @1/2/3/4/6 in fil002.qm.                              5/28/92
  141. *      - Added ( ) to Index line 1 for bok001.qm macros.               5/30/92
  142. *      - Modified @7 in file001.qm.                                     6/4/92
  143. *
  144. *
  145. *
  146. *--eof
  147.